<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tld/pageutil.tld" prefix="pu"%>
<%@taglib uri="/WEB-INF/tld/pageable.tld" prefix="pageable"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt-rt"%>
<c-rt:if test="${!empty param.id}">
<c-rt:set var="result" value="${pu:get('com.yaodian100.core.menu.entity.Option', param.id)}"/>
</c-rt:if>


<br />
<h1>工单行事历分类管理

</h1>
<form name="updateHolidayClassForm">
<table class="tb-1" width="100%">

			<tr>
				<th>id</th><td>${result.oid }<input type="hidden" name="id" value="${result.oid }"/></td>
			</tr>
			<tr>
				<th>code</th><td>
				<input type="text" name="code" value="${result.code }"/>
				</td>
				</tr>
			<tr>
				<th>名称</th><td><input type="text" name="name" value="${result.name}"/></td>
				</tr>
			
			<tr>
				<th></th><td>
				<input type="button" id="submit_button" value="送出"/>
				<input type="reset" value="重设"/>
				</td>
			</tr>
	</table>
</form>
<script>
$(document).ready(function(){
	$('#submit_button').click(function(){
		doAR('<%=application.getContextPath() %>/workOrder/holiday/updateHolidayClass.do', 'dialog', 'updateHolidayClassForm');
	});
});
</script>